export type BlockItem = {
  id: number
  block_name: string
  sort_num?: number
}

export type BlockData = {
  blocks: Array<BlockItem>
}

export type GroupItem = {
  id: number
  index_name: string
  frequency: string
  sort_num?: number
}

export type GroupData = {
  blockId: number | undefined
  groups: Array<GroupItem>
}

export type IndexItem = {
  id: number
  index_id: number | string
  index_name: string
  block_group_id: number
  variety_en: string
  note: string
}
export type IndexData = {
  groupId: number | undefined
  varietyEn: string | undefined
  indexList: Array<IndexItem>
}
